package com.zfz.happymall.service;


import com.zfz.happymall.entity.Account;
import com.zfz.happymall.entity.DataVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AccountService {

    //查询所有的
    List<Account> selectAll();

    //根据id查询
    Account getById(int id);

    //新增
    int save(Account account);

    //修改
    int update(Account account);

    //删除
    int deleteById(int id);

    List<DataVo> getLineData(int i);
}
